Skip to main content

Search Form

Overview

When you use Search controls on your forms, it is mandatory to use a Search form. In these special forms, you can select your Search criteria and which attributes of the Search results you wish to display. The Search Form Designer can be opened from the mandatory Select a Form field.

FormsComponents118

Available Controls

In the Search Form Designer, not all controls can be dragged into the form since not all of them are allowed inside search forms. The type of controls you can include in these forms are:

  • Combo
  • Date
  • Labels
  • Money
  • Number
  • Text box
  • Yes/No

All other controls, such as Collections, Collection attributes, and Images, are not supported.

How to set your Search form

  1. Select the Basic properties tab of the search control and expand the drop-down list under the Select a form label.
  2. This drop-down list lets you select one of the following options:
    • None: when no form has been selected. However, a form must be selected for the control to work.
    • New search Form: This will open a new Forms Designer window where you can enter all the controls required. The context of the form is the entity where the search is being performed. When it is saved, it will be stored as a reusable form. This way, it can be related to a Search control in another form. Always give this new form a Display name.
    • Select a search Form: Choose from a list of reusable forms previously defined.

FormsComponents119

The form is divided into two sections, the search criteria and the search results. These sections are independent of one another, allowing you to drag-and-drop the same attributes of the entity to each section, if needed.

Sorting and Filtering Results

The search results can be sorted by one of its columns in ascendent or descendent order. Just define the column to sort and the sort order from the Advanced properties of the Form.

FormsComponents172

You can select the type of search you want to use (exclusively for text controls) either Approximate or Exact. If you select the Approximate option, in the Work Portal, when the end user types some characters to search for the desired value, all the values that closely match it will appear. If you select Exact search, the end user must type the exact characters contained in the desired value to search and visualize it in the Work Portal.

Setting the Search Type

In the search form, select the text control, then click the Basic Tab on the left and select the Type search option. Click either Approximate or Exact.

FormsComponents256

Give this new form a Display name by clicking the Properties option in the Ribbon. Save the form and close it to return to the main form.

End User Interaction

When the end user clicks the search icon in the Work Portal, the Search form appears. The user can then enter the information and select the desired record from the results returned by the search.

For instance, suppose that the end user wants to search for a user named Williams (with a single "m") in the Work Portal, but there is another user named Williamms (with a double "m"). If you selected the Approximate option in Bizagi Studio, when the end user types characters such as "William" in the Work Portal, both user names will appear (Williams, Williamms). Otherwise, if you selected the Exact search option, the end user must type the entire characters "Williams" to visualize it.

FormsComponents257